package edu.sctu.practice.class02.Wangpeng.Test7;

/**
 * Created by wp on 2015/11/9.
 */
public class WuMingFen {
    String theMa;
    int quantiu;
    boolean likeSoup;

    public WuMingFen(){}

    public WuMingFen(String theMa,int quantiu){
        this.theMa=theMa;
        this.quantiu=quantiu;
    }

    public WuMingFen(String theMa,int quantiu,boolean likeSoup){
        this(theMa,quantiu);
        this.likeSoup=likeSoup;
    }
    public void check(){
        System.out.println("面码"+theMa+"分量"+quantiu+"带汤"+likeSoup);
    }
}
